home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20030409-20031118 / 000081_dkcombs@panix.com_Wed May 14 17:34:06 EDT 2003.msg < prev    next >
Text File  |  2020-01-01  |  11KB  |  275 lines

  1. Article: 14300 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!panix1.panix.com!not-for-mail
  3. From: dkcombs@panix.com (David Combs)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: ckermit 192 to v9: need help changing my init-files
  6. Date: 14 May 2003 01:41:44 -0400
  7. Organization: PANIX -- Public Access Networks Corp.
  8. Lines: 259
  9. Message-ID: <b9skuo$dbh$1@panix1.panix.com>
  10. NNTP-Posting-Host: panix1.panix.com
  11. X-Trace: reader1.panix.com 1052890905 5588 166.84.1.1 (14 May 2003 05:41:45 GMT)
  12. X-Complaints-To: abuse@panix.com
  13. NNTP-Posting-Date: Wed, 14 May 2003 05:41:45 +0000 (UTC)
  14. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14300
  15.  
  16.  
  17. I've been using c-kermit-192/wermit; I've  now downloaded version 9
  18. (for solaris-9), and it looks like some changes are needed in
  19. my init-files.
  20.  
  21. My old .mykermrc-for-v6 worked even for 192; finally, I have
  22. to make some changes.
  23.  
  24. Perhaps someone who really knows this stuff could simply edit
  25. in the hopefuylly-few lines that that need changing or insertion.
  26.  
  27. (Actually, within a couple of weeks I'll no longer  be 
  28. getting dialing into my ISP (panix), but will be using
  29. a cable-modem (and ssh).  I know so little about 
  30. operating via a cable-modem that I don't know if I'll
  31. need Kermit or not.  Even if not, I'd still like to 
  32. successfully upgrade to the newest version, so that
  33. if from some site I have no cable-modem, I can revert
  34. to dial-in, via Kermit.  So, any help would be much
  35. appreciated!  Thanks!)
  36.  
  37.  
  38.  
  39. ------- First, my (failing) run of it:
  40.  
  41. 50 ==/big7.1/dkc==> ./cku209.solaris9g-sparc
  42. ./cku209.solaris9g-sparc: Permission denied
  43. 51 ==/big7.1/dkc==> ls -l !$
  44. ls -l ./cku209.solaris9g-sparc
  45. -rw-r--r--   1 dkc      other    4588476 Mar 30 17:47 ./cku209.solaris9g-sparc
  46. 52 ==/big7.1/dkc==> chmod u+x !$
  47. chmod u+x ./cku209.solaris9g-sparc
  48. 53 ==/big7.1/dkc==> ./cku209.solaris9g-sparc
  49. C-Kermit 8.0.209, 17 Mar 2003, for Solaris 9
  50.  Copyright (C) 1985, 2003,
  51.   Trustees of Columbia University in the City of New York.
  52. Type ? or HELP for help.
  53. (/big7.1/dkc/) C-Kermit>take /dkcjunk/some-dkc-homepreserve-stuff/.mykermrc-for-v6
  54.  
  55. ------- ENTER .mykermrc::
  56.   HELLO David, this is the LOCAL LOCAL LOCAL LOCAL .mykermrc!
  57.   HELLO David, this is the LOCAL LOCAL LOCAL LOCAL .mykermrc!
  58.   HELLO David, this is the LOCAL LOCAL LOCAL LOCAL .mykermrc!
  59.   ---------------------------
  60.   ---------------------------
  61.   ---------------------------
  62.   PANIX DIAL-IN (Lower-Westchester) (914) 509-9202 (ie 5099202) <<===
  63. "     (212)  12128129201          (718) 17183609201
  64.       (BUT to PHONE panix-hq PEOPLE: 212-741-4400)
  65.            (x-1 service; x-4 tech spt; x-5 bill) 
  66. "      (I am: panix Customer
  67. /var/spool/locks: Permission denied
  68. ?SET SPEED has no effect without prior SET LINE
  69. ?SET SPEED has no effect without prior SET LINE
  70. ------- EXIT .mykermrc.
  71.  
  72. (/big7.1/dkc/) C-Kermit>
  73.  
  74.  
  75.  
  76.  
  77.  
  78. ------------------------ Now, my init file, .mykermrc:
  79.  
  80.  
  81.  
  82. #!/usr/local/bin/kermit
  83. ; File CKERMOD.INI, Sample C-Kermit 7.0 customization file.
  84. ;
  85. ; This file, which is ONLY A SAMPLE, should be called:
  86. ;
  87. ;   .mykermrc   (UNIX, OS-9, Aegis, BeBox, Plan 9)
  88. ;   CKERMOD.INI (VMS, OpenVMS, AOS/VS, OS/2, Amiga, Atari ST)
  89. ;   ckermod.ini (Stratus VOS)
  90. ;
  91. ; MODify it to suit your needs and preferences, and install it in the same
  92. ; directory as your C-Kermit initialization file.  The design of this file
  93. ; lets you fill in a section for each different operating system where you run
  94. ; C-Kermit.  This file is executed automatically by the standard C-Kermit
  95. ; initialization file, CKERMIT.INI (or .kermrc).  See the manual, "Using
  96. ; C-Kermit", for further information.
  97. ;
  98. ; Authors:  Christine Gianone, Frank da Cruz, Jeffrey Altman,
  99. ;           The Kermit Project, Columbia University.
  100. ; Creation: 23 November 1992 for C-Kermit 5A(188).
  101. ; Modified: 30 June 1993 for edit 189.
  102. ;           04 October 1994 for edit 190.
  103. ;           17 April 1995 for edit 191.
  104. ;            6 September 1996 for version 6.0, edit 192.
  105. ;            1 January 2000 for version 7.0, edit 196.
  106.  
  107. ECHO
  108. ECHO Executing SAMPLE C-Kermit customization file \v(cmdfile) for \v(system)...
  109. ECHO { Please edit this file to reflect your needs and preferences.}
  110. ECHO
  111. ;
  112. ; ... and then remove the ECHO commands above.
  113.  
  114.  
  115.  
  116.  
  117. ; this block came from .mykermrc-for-v6: dkc:
  118. ; run fuser
  119. ; set dial display on
  120. ; show modem, show dial
  121. ; dial 5099202
  122. echo "  PANIX DIAL-IN (Lower-Westchester) (914) 509-9202 (ie 5099202) <<==="
  123. echo "      (BUT to PHONE panix-hq PEOPLE: 212-741-4400)" 
  124. echo "           (x-1 service; x-4 tech spt; x-5 bill) "
  125. echo "      (I am: panix Customer # 00000-16967 David Combs)"
  126.  
  127.  
  128. set line /dev/cua/a     ; dkc
  129.  
  130.  
  131. COMMENT - Settings that apply to all the systems I use:
  132. ;
  133. set delay 1                  ; I escape back quickly
  134. set dial display on          ; I like to watch C-Kermit dial
  135.  
  136. ; Dialing locale and method
  137. ;
  138. ; SET DIAL COUNTRY-CODE 1    ; Uncomment and replace with yours
  139. ; SET DIAL AREA-CODE 000     ; Uncomment and replace with yours
  140. ; SET DIAL LD-PREFIX 1       ; Uncomment and replace with yours
  141. ; SET DIAL INTL-PREFIX 011   ; Uncomment and replace with yours
  142. ; SET DIAL METHOD TONE       ; Uncomment and replace with PULSE if necessary
  143. ; SET DIAL DIRECTORY ... ... ; List dialing directory files here
  144.  
  145. ; File transfer preferences
  146. ;
  147.  FAST                       ; Uncomment to enable fast file transfer
  148. ; SET FILE TYPE BINARY       ; Uncomment to force binary-mode file transfer
  149.  SET FILE NAMES LITERAL     ; Uncomment to defeat filename conversion dkc
  150. ; SET SEND PATHNAMES ON      ; Uncomment to defeat send pathname stripping
  151. ; SET RECEIVE PATHNAMES ON   ; Uncomment to defeat receive pathname stripping
  152. ; SET EXIT WARNING OFF       ; Uncomment this to remove connection warnings
  153. ; SET TERMINAL APC ON        ; Uncomment to allow APC commands
  154.  SET TERM AUTODOWNLOAD ON   ; Uncomment to allow autodownload   dkc
  155.  
  156. if < \v(version) 600192 -
  157.   stop 1 \v(cmdfile): C-Kermit 6.0.192 or later required.
  158.  
  159. set take error on            ; Make errors fatal temporarily
  160. check if                     ; Do we have an IF command?
  161. set take error off           ; Yes we do, back to normal
  162.  
  163. ; The ON_EXIT macro is executed automatically when C-Kermit exits.
  164. ; Define as desired.
  165. ;
  166. define ON_EXIT echo Returning you to \v(system) now.
  167.  
  168. ; System-independent quick dialing macro.  Depends on having the
  169. ; macros MYMODEM, MYPORT, and (optionally) MYSPEED defined in the
  170. ; system-dependent sections below.
  171. ;
  172. define MYDIAL {
  173.     if not defined MYMODEM end 1 {\%0: Modem type not defined.}
  174.     set modem type \m(MYMODEM)
  175.     if fail end 1 {\%0: \m(MYMODEM): Unsupported modem type.}
  176.     if not defined MYPORT end 1 {\%0: Communication port not defined.}
  177.     set port \m(MYPORT)
  178.     if fail end 1 {\%0: SET PORT \m(MYPORT) failed.}
  179.     if defined MYFLOW set flow \m(MYFLOW)
  180.     if fail end 1 {\%0: SET FLOW \m(MYFLOW) failed.}
  181.     if defined MYSPEED set speed \m(MYSPEED)
  182.     if fail end 1 {\%0: SET SPEED \m(MYSPEED) failed.}
  183.     dial \%1\%2\%3\%4\%5\%6\%7\%8\%9
  184.     end \v(status)
  185. }
  186.  
  187. forward \v(system)              ; Go execute system-dependent commands
  188.  
  189. :UNIX                           ; UNIX, all versions...
  190. define MYPORT /dev/cua/a        ; My dialing environment   dkc: added "/a" suffix.
  191. define MYMODEM usrrobotics      ; Replace these by what you actually have.   dkc.
  192. define MYSPEED 57600
  193. ;
  194. ; If you want all your downloads to go to the same directory, no matter
  195. ; what your current directory is, uncomment and edit the following command:
  196. ;
  197. ;   set file download-directory ~/download ; Download directory for UNIX
  198.  
  199. ; Put other UNIX-specific commands here...
  200. end                             ; End of UNIX section
  201.  
  202. :VMS                            ; VMS and OpenVMS
  203. define MYPORT TXA0:             ; My dialing environment
  204. define MYMODEM usr              ; Replace these by what you actually have
  205. define MYSPEED 57600
  206. ; set file download-directory [\$(USER).DOWNLOAD] ; Download directory for VMS
  207. ; Put other VMS-specific commands here...
  208. end                             ; End of VMS section
  209.  
  210. :WIN32                          ; Windows and OS/2 customizations...
  211. :OS/2
  212. define MYPORT COM1              ; My dialing environment
  213. define MYMODEM usr              ; Replace these by what you actually have
  214. define MYSPEED 57600
  215. set command byte 8              ; Use 8 bits between Kermit and console
  216. set xfer char latin1            ; Use Latin-1 for text file transfer
  217. set term char latin1            ; And use Latin-1 during CONNECT mode
  218. ; set file download-directory C:\DOWNLOADS
  219. end
  220.  
  221. :OS9/68K                        ; OS-9/68000
  222. define MYPORT /t3               ; My dialing environment
  223. define MYMODEM usr              ; Replace these by what you actually have
  224. define MYSPEED 9600
  225. ; set file download-directory ~/downloads
  226. end                             ; End of OS-9 section
  227.  
  228. :AOS/VS                         ; Data General AOS/VS
  229. define MYPORT @con3             ; My dialing environment
  230. define MYMODEM usrobotics       ; Replace these by what you actually have dkc
  231. define MYSPEED 9600
  232. ; set file download-directory \v(home)DOWNLOADS
  233. end
  234.  
  235. ; And so on, you get the idea...
  236. ; Fill in the sections that apply to you.
  237.  
  238. :Stratus_VOS            ; Stratus VOS
  239. :Amiga                          ; Commodore Amiga
  240. :Atari_ST                       ; Atari ST
  241. :Macintosh                      ; Apple Macintosh
  242. :unknown                        ; Others
  243.  
  244.  
  245. ; dkc:
  246. # At exit from ISP, then quit from kermit, run "fuser -u /dev/cua/a".
  247. # 28may01: -- we try panix' advice of adding "s32=66" to command string.
  248. #   kermit's show modem  gives "ATQ0X4&A3&N0&Y3\{13}" as cmd string,
  249. #   so we'll trying to set it to "ATQ0X4&A3&N0&Y3\{13}s32=66"
  250. set modem command init-string ATQ0X4&A3&N0&Y3\{13}s32=66    ; dkc
  251.  
  252. ; (End of CKERMOD.INI)
  253.  
  254. ------------ so ends .mykermrc.
  255.  
  256.  
  257.  
  258. Simple, or difficult, to convert this to work for v-9?
  259.  
  260. What would be by far the nicest would be if someone
  261. could hack into that file whatever changes are needed;
  262. my brain is totally taken up with trying to comprehend
  263. enough unix security, public key stuff, ssh, and 10,000
  264. other (to me) esoteric things, that without someone's
  265. help, I'll just have to stick with 192.
  266.  
  267. Thanks so much for any help you can give -- especially
  268. for either a cut-n-paste or some 100% cookbook-like
  269. directions that even a robot could follow.
  270.  
  271. Thanks!
  272.  
  273. David
  274.  
  275.